MailPoet\Config\Menu A

Total Complexity 67
Dependencies 30
Dependents 15
Total lines 775
Lines of code 585
Logical lines of code 163
Comment lines 52
Methods 39
Properties 8

Methods 39

Method Rating Maintainability Complexity Lines of code
registerMailPoetSubMenuEntries()
B
26
2 257
highlightNestedMailPoetSubmenus()
A
51 9 27
setup()
A
44 6 54
isOnMailPoetAdminPage()
S
58 6 16
addErrorPage()
S
54 5 23
registerAutomationMenu()
S
47 1 44
registerMailPoetMenu()
S
51 1 34
getPageFromContext()
S
67 3 7
checkPremiumKey()
S
68 3 6
isOnMailPoetAutomationPage()
S
61 2 13
init()
S
64 1 11
forms()
S
81 1 3
errorPageCallback()
S
89 1 2
setPageTitle()
S
70 1 7
formEditorTemplateSelection()
S
81 1 3
formEditor()
S
81 1 3
export()
S
81 1 3
import()
S
81 1 3
emailEditor()
S
81 1 3
newletterEditor()
S
81 1 3
newsletters()
S
81 1 3
__construct()
S
67 1 8
segments()
S
81 1 3
help()
S
81 1 3
disableWPEmojis()
S
76 1 4
welcomeWizard()
S
81 1 3
landingPage()
S
81 1 3
wooCommerceSetup()
S
81 1 3
upgrade()
S
81 1 3
settings()
S
81 1 3
homepage()
S
81 1 3
lists()
S
81 1 3
automation()
S
81 1 3
automationTemplates()
S
81 1 3
automationEditor()
S
81 1 3
automationAnalytics()
S
81 1 3
experimentalFeatures()
S
81 1 3
subscribers()
S
81 1 3
logs()
S
81 1 3